package com.fanxuankai.boot.upload.dto;

import com.fanxuankai.commons.extra.mybatis.annotation.Query;

/**
 * @author fanxuankai
 */
public class JobDTO {
    @Query
    private String handler;
    @Query
    private String status;
    @Query(type = Query.Type.ORDER_BY_DESC)
    private Boolean orderByDescCreateTime;

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Boolean getOrderByDescCreateTime() {
        return orderByDescCreateTime;
    }

    public void setOrderByDescCreateTime(Boolean orderByDescCreateTime) {
        this.orderByDescCreateTime = orderByDescCreateTime;
    }

    @Override
    public String toString() {
        return "JobDTO{" +
                "handler='" + handler + '\'' +
                ", status='" + status + '\'' +
                ", orderByDescCreateTime=" + orderByDescCreateTime +
                '}';
    }
}
